package sk.octopuss.archery.service;

import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.net.URL;



public interface ImageService {

	//Thumbnail
	public BufferedImage generateThumbNail(File file);
	public BufferedImage generateThumbNail(URL url);
	public BufferedImage generateThumbNail(String uri);
	
	
	//Scale
	public BufferedImage scaleImage(File file);
	public BufferedImage scaleImage(URL url);
	public BufferedImage scaleImage(String uri);
	
	//CRUD
	public boolean saveImage(Image img, File file);
	public boolean saveImage(Image img, String fileName);
	public BufferedImage downloadImage(URL url);
	public File downloadImageFile(URL url);
	public boolean removeImage(String uri);
	
	
	

}
